runtime.mheap.reclaimCredit (field)
6 uses
runtime (current package)
mgc.go#L1678: mheap_.reclaimCredit.Store(0)
mgcsweep.go#L393: mheap_.reclaimCredit.Add(npages)
mheap.go#L123: reclaimCredit atomic.Uintptr
mheap.go#L802: if credit := h.reclaimCredit.Load(); credit > 0 {
mheap.go#L808: if h.reclaimCredit.CompareAndSwap(credit, credit-take) {
mheap.go#L834: h.reclaimCredit.Add(nfound - npage)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |